package com.manager.devicemanager.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.conditions.query.QueryChainWrapper;
import com.manager.devicemanager.entity.IcBoardType;
import com.manager.devicemanager.mapper.IcBoardTypeMapper;
import com.manager.devicemanager.service.IIcBoardTypeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author wpf
 * @since 2025-07-15
 */
@Service
public class IcBoardTypeServiceImpl extends ServiceImpl<IcBoardTypeMapper, IcBoardType> implements IIcBoardTypeService {

    @Autowired
    IcBoardTypeMapper icBoardTypeMapper;

    @Override
    public List<IcBoardType> getAll(String dataSourceName) {
        return icBoardTypeMapper.selectList(new QueryWrapper<>());
    }
}
